home *** CD-ROM | disk | FTP | other *** search
- /* BLKLINEMENU.H Block Menu - Menu with buttons.
- After exiting returns number of item in global_num.
- ONE-Line version.
- */
-
- #ifndef __BLOCK_LINE_MENU_H_
- #define __BLOCK_LINE_MENU_H_
-
- #include "bl.h"
- #include "textmenu.h"
-
- class BlockLineMenu : public Bl
- {
- public:
- TextMenu* menu;
-
- BlockLineMenu(rect coordinates, char* fName = "",
- char* HOT = NULL,
- char** ITEMSTRINGS = NULL,
- rect STATUSPOS = rect(0, 24, 79, 25),
- int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
- int* STATUSLIST = NULL,
- BORDERS b_type = SHOW_BORDER,
- int pat = 0, int elem_pat = 0,
- int menu_pat = 0);
-
- virtual void hide();
- void set_pos(int p) { menu->set_pos(p); }
- virtual void rearrange();
- };
-
- #endif __BLOCK_LINE_MENU_H_